package service
{
	import flash.events.IEventDispatcher;
	
	import model.Page;
	
	import mx.collections.ArrayCollection;
	
	public interface StorageService extends IEventDispatcher
	{
		function createPage(pageId:String=""): Page;
		function loadPage(pageId: String): void;
		function savePageUpdate(pageId: String, diffText: String): void;
		function disposePage(pageId: String): void;
		function loadPageIndex(): void;
		
		function open(): void;
		function close(): void;
	}
}